package org.fast.develop.logicflow.builder;

import org.fast.develop.logicflow.core.meta.shape.LogicFlowDefinition;
import org.fast.develop.logicflow.core.meta.shape.control.IfElseControl;
import org.fast.develop.logicflow.core.meta.shape.line.SequenceFlow;
import org.fast.develop.logicflow.core.LogicFlowConfiguration;

import java.util.Queue;
import java.util.concurrent.LinkedBlockingQueue;

/**
 * @author 莫寅
 * @createTime 2022-11-25 15:29
 * @desc：
 */
public class IfElseControlBuilder extends AbstractLogicFlowNodeBuilder<IfElseControlBuilder, IfElseControl>{

    private static Queue<SequenceFlow> queue = new LinkedBlockingQueue<>(1);

    public IfElseControlBuilder(LogicFlowDefinition logicFlowDefinition, LogicFlowConfiguration logicFlowConfiguration) {
        super(logicFlowDefinition, logicFlowConfiguration);
    }


    @Override
    protected Class<IfElseControl> getElementClass() {
        return IfElseControl.class;
    }

}
